<#compress>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title>游戏</title>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/mobileweb/2/css/style.css?_=${.now?string("yyyy-MM-dd")}">
</head>

<body>
<div class="gameList">
    <#if signRule??>
        <div class="gItem">
            <h2>${signRule.name!}</h2>
            <span>
                <#if signRule.update_time??>
                    ${signRule.update_time?string("yyyy-MM-dd")}
                <#else>
                ${.now?date}
                </#if>
            </span>
            <div class="glImg">
                <a href="${ctx}/mobileweb/game/showgame3?gameid=${signRule.id}&mid=${mid}&wxno=${wxno}">
                    <#--<#if g.picture??>
                        <img src="${ctx}/${g.picture!}">
                    <#else>-->
                        <img src="${ctx}/static/mobileweb/game/3/sign.png">
                    <#--</#if>-->
                </a>
            </div>
            <div class="gCnt">${signRule.description!}</div>
            <a href="${ctx}/mobileweb/game/showgame3?gameid=${signRule.id}&mid=${mid}&wxno=${wxno}">查看全文</a>
        </div>
    </#if>

    <#list games as g>
        <div class="gItem">
            <h2>${g.name!}</h2>
            <span>${g.create_time?string("yyyy-MM-dd ")}</span>
            <div class="glImg">
                <a href="${ctx}/mobileweb/game/showgame${g.id}?gameid=${g.id}&mid=${mid}&wxno=${wxno}">
                    <#if g.picture??>
                    <img src="${ctx}/${g.picture!}">
                     <#else>
                     <img src="${ctx}/static/mobileweb/2/images/gameImg1.jpg">
                    </#if>
                </a>
            </div>
            <div class="gCnt">${g.summary!}</div>
            <a href="${ctx}/mobileweb/game/showgame${g.id}?gameid=${g.id}&mid=${mid}&wxno=${wxno}">查看全文</a>
        </div>
    </#list>
</div>

</body>
</html>
</#compress>

